﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DATA;
namespace BUS
{
   public  class HiddenQuestionBUS
    {
        public List<HiddenQuestion> GetAllHiddenQuestions()
        {
            HiddenQuestionREP acc = new HiddenQuestionREP();
            return acc.GetAllHiddenQuestions();
        }
        public List<HiddenQuestion> GetActiveHiddenQuestion()
        {
            HiddenQuestionREP acc = new HiddenQuestionREP();
            return acc.GetActiveHiddenQuestion();
        }

        public bool AddHiddenQuestion(HiddenQuestion newAccount)
        {
            HiddenQuestionREP acc = new HiddenQuestionREP();
            return acc.AddHiddenQuestion(newAccount);
        }
        public void Delete(int Accountid)
        {
            HiddenQuestionREP acc = new HiddenQuestionREP();
            acc.deleteHiddenQuestion(Accountid);
        }
        public bool UpdateHiddenQuestion(HiddenQuestion accountup)
        {
            HiddenQuestionREP acc = new HiddenQuestionREP();
            return acc.UpdateHiddenQuestion(accountup);


        }
    }
}
